package org.lc.stk.model.user;

import org.hibernate.annotations.Comment;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;

/**
 * 学生用户
 */
@Entity
@Table(name = "student")
@Comment("学生")
public class Student extends User {
    
    @Column
    @Comment("学号")
    private String studentId;

    @Column
    @Comment("年级")
    private String grade;

    @Column
    @Comment("班级")
    private String className;

    @Column
    @Comment("专业")
    private String major;

    @Column
    @Comment("学院")
    private String college;

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }
}
